package com.leyou.user.Api;


import com.leyou.user.pojo.User;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

public interface UserApi {

    @PostMapping("login")
   User login(@RequestParam("username") String username,
              @RequestParam("password") String password);
}

